Author: Cujbă Mihai
Find the flag's location in the source code.
- Source code
- Browsing web pages
In the source code, you can see the location of the image displayed on the screen: files/images/kali-prompt.jpg
.
What if we check the subdirectories?
Stepping down 2 directories will reveal a nice directory listing in /files
.
We can just retrieve the flag from there: ./files/flags/flag.php
Flag:
CSCTF{Listing_ON_Index_OFF}